﻿using System;
using ProtoBuf;
using T0yK4T.Tools;

namespace ToyChat.BuiltinModules
{
    /// <summary>
    /// This message is used by <see cref="Core"/> to get permissions from the server
    /// </summary>
    [ProtoContract(Name = "Core.GetPermissionsMessage")]
    public class GetPermissionsMessage
    {
        /// <summary>
        /// Gets or Sets the UserID that this request is for
        /// </summary>
        public string Username { get; set; }

        /// <summary>
        /// Gets or Sets the ChannelID that this request is for
        /// </summary>
        public int ChannelID { get; set; }

        /// <summary>
        /// Gets or Sets the RequestID of this request
        /// </summary>
        public int RequestID { get; set; }
    }
}